
package com.j2eefast.flowable.bpm.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.j2eefast.flowable.bpm.entity.InformationEntity;
import com.j2eefast.flowable.bpm.entity.ProjectArchivesEntity;
import org.apache.ibatis.annotations.Param;

/**
 * <p></p>
 *
 * @author: guoshenghui
 * @date: 2021-05-16 00:02
 * @web: http://www.letukeji.cn
 * @version: 1.0.1
 */

public interface InformationMapper extends BaseMapper<ProjectArchivesEntity> {

	Page<InformationEntity> informationList(IPage<?> params,@Param("title") String title,@Param("username") String username,@Param("type")String type,@Param("kind")String kind);

	public InformationEntity getInformationById(@Param("id") Long id);

	public boolean updateByIds(InformationEntity informationEntity);

	public boolean deleteInformation(@Param("ids")Long [] ids);

	public boolean upload(InformationEntity informationEntity);
}

